.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
  background: #f5f5f5;
  box-sizing: border-box;
  width: 100%;
}

.product-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.product-image-container {
  width: 100%;
  position: relative;
  padding-top: 100%; /* 1:1 宽高比 */
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 8px;
}

.product-name {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  font-size: 16px;
  color: #ff4d4f;
  font-weight: 500;
  margin-bottom: 4px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
  padding-top: 4px;
  border-top: 1px solid #f0f0f0;
}

.product-meta span {
  display: flex;
  align-items: center;
}

.product-meta span:before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  background-size: contain;
  background-repeat: no-repeat;
}

.product-meta .sales:before {
  background-image: url('');
}

.product-meta .location:before {
  background-image: url('');
}

.loading-more {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px 0;
  color: #999;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #999;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.no-more {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px 0;
  color: #999;
  font-size: 14px;
}
